# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'dialogs/resizeDialog.ui'
#
# Created: Fri May 27 14:55:51 2011
#      by: PyQt4 UI code generator 4.8.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_ResizeDialog(object):
    def setupUi(self, ResizeDialog):
        ResizeDialog.setObjectName(_fromUtf8("ResizeDialog"))
        ResizeDialog.resize(349, 132)
        self.gridLayout = QtGui.QGridLayout(ResizeDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label_2 = QtGui.QLabel(ResizeDialog)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.spinBoxX = QtGui.QSpinBox(ResizeDialog)
        self.spinBoxX.setMaximum(1000)
        self.spinBoxX.setObjectName(_fromUtf8("spinBoxX"))
        self.gridLayout.addWidget(self.spinBoxX, 1, 4, 1, 1)
        self.label = QtGui.QLabel(ResizeDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.spinBoxY = QtGui.QSpinBox(ResizeDialog)
        self.spinBoxY.setMaximum(1000)
        self.spinBoxY.setObjectName(_fromUtf8("spinBoxY"))
        self.gridLayout.addWidget(self.spinBoxY, 0, 4, 1, 1)
        self.sliderY = QtGui.QSlider(ResizeDialog)
        self.sliderY.setMaximum(1000)
        self.sliderY.setOrientation(QtCore.Qt.Horizontal)
        self.sliderY.setObjectName(_fromUtf8("sliderY"))
        self.gridLayout.addWidget(self.sliderY, 1, 1, 1, 1)
        self.sliderX = QtGui.QSlider(ResizeDialog)
        self.sliderX.setMaximum(1000)
        self.sliderX.setOrientation(QtCore.Qt.Horizontal)
        self.sliderX.setObjectName(_fromUtf8("sliderX"))
        self.gridLayout.addWidget(self.sliderX, 0, 1, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(ResizeDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 3, 1, 1, 1)

        self.retranslateUi(ResizeDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), ResizeDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), ResizeDialog.reject)
        QtCore.QObject.connect(self.sliderX, QtCore.SIGNAL(_fromUtf8("valueChanged(int)")), self.spinBoxX.setValue)
        QtCore.QObject.connect(self.spinBoxX, QtCore.SIGNAL(_fromUtf8("valueChanged(int)")), self.sliderX.setValue)
        QtCore.QObject.connect(self.sliderY, QtCore.SIGNAL(_fromUtf8("valueChanged(int)")), self.spinBoxY.setValue)
        QtCore.QObject.connect(self.spinBoxY, QtCore.SIGNAL(_fromUtf8("valueChanged(int)")), self.sliderY.setValue)
        QtCore.QMetaObject.connectSlotsByName(ResizeDialog)

    def retranslateUi(self, ResizeDialog):
        ResizeDialog.setWindowTitle(QtGui.QApplication.translate("ResizeDialog", "Resize", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("ResizeDialog", "Y", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("ResizeDialog", "X", None, QtGui.QApplication.UnicodeUTF8))

